package com.ljl.ningwei.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 文件服务器
 */
public interface FileService {
    /**
     * 文件上传
     * @param file
     * @return
     * @throws IOException
     */
    String upload(MultipartFile file) throws IOException;

    /**
     * 解析图片的路径获取到ar
     */
    Double getImageAr(String path);
}
